
var mydiv;
		
window.onload = function() {
	mydiv = document.getElementById("mydiv");
	
	var div1 = document.createElement("DIV");
	div1.innerHTML = "我是王小虎:):):)";
	div1.innerHTML = "我是123:):):)";
	div1.innerHTML = "我是321:):):)";	
    div1.innerHTML = "我是1234:):):)";
    div1.innerHTML = "我是12345:):):)";
    div1.style.color = "purple";
    mydiv.appendChild(div1);
}